﻿#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>  
//BC26 计算三角形的周长和面积
int main()
{
	int a, b, c, L;
	double L, S, p;
	scanf("%d %d %d", &a, &b, &c);
	L = a + b + c;
	p = L / 2;
	S = sqrt(p * (p - a) * (p - b) * (p - c));
	printf("circumference=%.2f area=%.2f", L, S);
	return 0;
}